#app{
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.progress{
  width:120px;
  height:20px;
  -webkit-mask:linear-gradient(90deg,#000 70%,#0000 0) 0/20%;
  background:
   linear-gradient(#000 0 0) 0/0% no-repeat
   #ddd;
  animation:progress 2s infinite steps(6);
}
@keyframes progress {
    100% {background-size:120%}
}